<template>
  <div class="page">
    <!-- <div class="swiper" id="sw"></div> -->
    <div class="list">
      <div class="item">
        <img src="../assets/ntfs/list-image.png" alt="">
        <div class="info">
          <div class="name">AAAA</div>
          <button class="num">9999 <span>CFX</span></button>
        </div>
      </div>
      <div class="item">
        <img src="../assets/ntfs/list-image.png" alt="">
        <div class="info">
          <div class="name">AAAA</div>
          <button class="num">9999 <span>CFX</span></button>
        </div>
      </div>
      <div class="item">
        <img src="../assets/ntfs/list-image.png" alt="">
        <div class="info">
          <div class="name">AAAA</div>
          <button class="num">9999 <span>CFX</span></button>
        </div>
      </div>
      <div class="item">
        <img src="../assets/ntfs/list-image.png" alt="">
        <div class="info">
          <div class="name">AAAA</div>
          <button class="num">9999 <span>CFX</span></button>
        </div>
      </div>
      <div class="item">
        <img src="../assets/ntfs/list-image.png" alt="">
        <div class="info">
          <div class="name">AAAA</div>
          <button class="num">9999 <span>CFX</span></button>
        </div>
      </div>
      <div class="item">
        <img src="../assets/ntfs/list-image.png" alt="">
        <div class="info">
          <div class="name">AAAA</div>
          <button class="num">9999 <span>CFX</span></button>
        </div>
      </div>
      <div class="item">
        <img src="../assets/ntfs/list-image.png" alt="">
        <div class="info">
          <div class="name">AAAA</div>
          <button class="num">9999 <span>CFX</span></button>
        </div>
      </div>
      <div class="item">
        <img src="../assets/ntfs/list-image.png" alt="">
        <div class="info">
          <div class="name">AAAA</div>
          <button class="num">9999 <span>CFX</span></button>
        </div>
      </div>
      <div class="item">
        <img src="../assets/ntfs/list-image.png" alt="">
        <div class="info">
          <div class="name">AAAA</div>
          <button class="num">9999 <span>CFX</span></button>
        </div>
      </div>
      <div class="item">
        <img src="../assets/ntfs/list-image.png" alt="">
        <div class="info">
          <div class="name">AAAA</div>
          <button class="num">9999 <span>CFX</span></button>
        </div>
      </div>
      <div class="item">
        <img src="../assets/ntfs/list-image.png" alt="">
        <div class="info">
          <div class="name">AAAA</div>
          <button class="num">9999 <span>CFX</span></button>
        </div>
      </div>
      <div class="item">
        <img src="../assets/ntfs/list-image.png" alt="">
        <div class="info">
          <div class="name">AAAA</div>
          <button class="num">9999 <span>CFX</span></button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import Swiper from "swiper";
export default {
  name: "NTFS",
  mounted() {
    // new Swiper('#sw',{
    //   autoplay: true
    // })
  }
}
</script>

<style scoped lang="less">
.swiper{
  height: 200px;
  width: 400px;
}
.list{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding:0 10px;
  .item{
    position: relative;
    width: 177px;
    height: 152px;
    border-radius: 10px;
    opacity: 1;
    box-sizing: border-box;
    border: 1px solid #9C27B0;
    margin-bottom: 56px;
    /* drop shadow */
    box-shadow: 8px 8px 20px 0px rgba(0, 0, 0, 0.1);
    img{
      display: block;
      max-width: 100%;
      max-height: 100%;
    }
    .info{
      position: absolute;
      width: 187px;
      height: 64px;
      background: url('@/assets/ntfs/info.png') no-repeat center;
      background-size: cover;
      bottom: -32px;
      left: -6px;
      .name{
        font-size: 14px;
        font-weight: normal;
        line-height: 28px;
        text-align: center;
        color: #9C27B0;
      }
      .num{
        height: 27px;
        border-radius: 11px;
        background: #FFA000;
        padding:0 11px;
        color:#223354;
        font-size: 14px;
        font-weight: bold;
        span{
          font-size: 12px;
        }
      }
    }
  }
}
</style>